home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / dos / grafik / mgl11 / mkdefs10 / msc.def < prev    next >
Encoding:
Text File  |  1994-03-08  |  1.6 KB  |  45 lines

  1. #############################################################################
  2. #
  3. #                   Copyright (C) 1993 SciTech Software
  4. #                           All rights reserved.
  5. #
  6. # Descripton:   Makefile definitions for compiling SciTech Software products.
  7. #               Microsoft C 6.00 version. Note that MSC 6.00 does not
  8. #               understand the _cdecl modifier, so we #define it out. Newer
  9. #               MSC compilers do understand this however.
  10. #
  11. # $Id: msc.def 1.1 1994/03/06 07:48:03 kjb Exp $
  12. #
  13. #############################################################################
  14.  
  15. # The following will need to be changed to reflect your normal include file
  16. # and library directories.
  17.  
  18. INC_DEST        = \bc\include\myinc # Destination for include files
  19. LIB_DEST        = \c600\lib\mylib   # Destination for library files
  20.  
  21. CC              = cl                # Name of C compiler
  22. ASM             = tasm              # Name of assembler
  23. LIB             = lib               # Name of librarian
  24. LIB_FLAGS       = /NOI /NOE
  25.  
  26. !if $d(debug)
  27. CC_DOPT         = /Zi               # Turn on debugging for C compiler
  28. ASM_DOPT        = /ZI               # Turn on debugging for assembler
  29. !endif
  30.  
  31. !if $d(optimize)
  32. CC_OPT          = /Ox /Oz           # Turn on full optimization
  33. OPTIMIZE        = -Doptimize
  34. !endif
  35.  
  36. # Only compile for the large model
  37.  
  38. LIBFILE         = $(LIB_DEST)\$(LIBNAME).lib
  39. ASM_FLAGS       = /MX /m $(ASM_DOPT) /D__LARGE__ /D__COMM__
  40. CC_FLAGS        = /D__MSDOS__ /D__MSC__ /AL $(CC_DOPT) /Gs $(CC_OPT) /D_cdecl=
  41. COMPILE_ONLY    = /c
  42. RSP_OPT         = -m
  43. COMPILER        = -Dmsc
  44.  
  45.